import { createApp } from 'vue'
import {createPinia} from "pinia"
import ElementPlus from 'element-plus'
import App from './App.vue'
import "virtual:svg-icons-register"
import "vditor/dist/index.css"
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import Vue3NumberScroll from "vue3-number-scroll"
import * as echarts from 'echarts'
import globalComponent from './components/install'
import router from "./router/index"
import 'element-plus/dist/index.css'


const app = createApp(App)
app.config.globalProperties.$echarts = echarts;
app.use(globalComponent).use(createPinia()).use(ElementPlus)
    .use(router).use(Vue3NumberScroll)
app.mount('#app')
